//
//  TestTableViewCell.m
//  block的使用总结
//
//  Created by 唐斌 on 2018/6/25.
//  Copyright © 2018年 曦胜科技有限公司. All rights reserved.
//

#import "TestTableViewCell.h"

@implementation TestTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    _textFiled.delegate = self;
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

-(void)textFieldDidEndEditing:(UITextField *)textField{
    
    if (self.myblock) {
        self.myblock(_textFiled.text);
    }
    
}

@end
